from django.contrib import admin
from django.urls import path
# 从user模块中导⼊views⼦模块
from user import views

urlpatterns = [
    path('admin/', admin.site.urls),
    #
    # 定义了一个URL路径，将网址的index页面指向views文件中的index函数,命名为index
    path('index/', views.index, name='user_index'),
    path('list/<int:year>/<int:month>/<int:day>', views.list, name='list')
]
